Optimal. Leaf size=12 \[ -\frac{\cosh ^{-1}\left (-\frac{b x}{2}\right )}{b} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0202261, antiderivative size = 12, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.048 \[ -\frac{\cosh ^{-1}\left (-\frac{b x}{2}\right )}{b} \]
Antiderivative was successfully verified.
[In] Int[1/(Sqrt[-2 - b*x]*Sqrt[2 - b*x]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 5.12808, size = 10, normalized size = 0.83 \[ - \frac{\operatorname{acosh}{\left (- \frac{b x}{2} \right )}}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(-b*x-2)**(1/2)/(-b*x+2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0112807, size = 20, normalized size = 1.67 \[ -\frac{2 \sinh ^{-1}\left (\frac{1}{2} \sqrt{-b x-2}\right )}{b} \]
Antiderivative was successfully verified.
[In] Integrate[1/(Sqrt[-2 - b*x]*Sqrt[2 - b*x]),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.007, size = 61, normalized size = 5.1 \[{1\sqrt{ \left ( -bx-2 \right ) \left ( -bx+2 \right ) }\ln \left ({{b}^{2}x{\frac{1}{\sqrt{{b}^{2}}}}}+\sqrt{{b}^{2}{x}^{2}-4} \right ){\frac{1}{\sqrt{-bx-2}}}{\frac{1}{\sqrt{-bx+2}}}{\frac{1}{\sqrt{{b}^{2}}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(-b*x-2)^(1/2)/(-b*x+2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.35268, size = 43, normalized size = 3.58 \[ \frac{\log \left (2 \, b^{2} x + 2 \, \sqrt{b^{2} x^{2} - 4} \sqrt{b^{2}}\right )}{\sqrt{b^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-b*x + 2)*sqrt(-b*x - 2)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.204478, size = 38, normalized size = 3.17 \[ -\frac{\log \left (-b x + \sqrt{-b x + 2} \sqrt{-b x - 2}\right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-b*x + 2)*sqrt(-b*x - 2)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 5.02862, size = 78, normalized size = 6.5 \[ - \frac{{G_{6, 6}^{6, 2}\left (\begin{matrix} \frac{1}{4}, \frac{3}{4} & \frac{1}{2}, \frac{1}{2}, 1, 1 \\0, \frac{1}{4}, \frac{1}{2}, \frac{3}{4}, 1, 0 & \end{matrix} \middle |{\frac{4}{b^{2} x^{2}}} \right )}}{4 \pi ^{\frac{3}{2}} b} - \frac{i{G_{6, 6}^{2, 6}\left (\begin{matrix} - \frac{1}{2}, - \frac{1}{4}, 0, \frac{1}{4}, \frac{1}{2}, 1 & \\- \frac{1}{4}, \frac{1}{4} & - \frac{1}{2}, 0, 0, 0 \end{matrix} \middle |{\frac{4 e^{- 2 i \pi }}{b^{2} x^{2}}} \right )}}{4 \pi ^{\frac{3}{2}} b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(-b*x-2)**(1/2)/(-b*x+2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.236498, size = 35, normalized size = 2.92 \[ \frac{2 \,{\rm ln}\left ({\left | -\sqrt{-b x + 2} + \sqrt{-b x - 2} \right |}\right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-b*x + 2)*sqrt(-b*x - 2)),x, algorithm="giac")
[Out]